How to find length of string in Python using len